package com.ktgj.other.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktgj.customer.api.domain.CouponDto;
import com.ktgj.other.domain.common.productDTO;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RcFillOrder implements Serializable {
    public RcFillOrder() {
        this.queryResultList = new ArrayList<>();
    }

    /**
     * 价格标示符号，用来标明本次约定的价格（下单时使用）
     */
    private String priceMark;

    /**
     * 用车类型
     */
    private String serviceType;

    /**
     * 航班号（接机时必填）
     */
    private String flightNumber;

    /**
     * 用车时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date useTime;

    /**
     * 出发详细地址 (*)
     */
    private String startAddress;

    /**
     * 到达详细地址
     */
    private String endAddress;

    /**
     * 乘客姓名
     */
    private String passengername;

    /**
     * 乘客联系电话
     */
    private String passengertel;

    /**
     * 车型信息
     */
    public List<productDTO> queryResultList;

    /**
     * 预留款（金币）
     */
    private Long depositBusiness;

    /**
     * 积分
     */
    private Long points;

    /**
     * 优惠券
     */
    private CouponDto coupon;

    /**
     * 发票
     */
    private String invoice;

    public String getPriceMark() {
        return priceMark;
    }

    public void setPriceMark(String priceMark) {
        this.priceMark = priceMark;
    }

    public String getServiceType() {
        return serviceType;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    public String getFlightNumber() {
        return flightNumber;
    }

    public void setFlightNumber(String flightNumber) {
        this.flightNumber = flightNumber;
    }

    public Date getUseTime() {
        return useTime;
    }

    public void setUseTime(Date useTime) {
        this.useTime = useTime;
    }

    public String getStartAddress() {
        return startAddress;
    }

    public void setStartAddress(String startAddress) {
        this.startAddress = startAddress;
    }

    public String getEndAddress() {
        return endAddress;
    }

    public void setEndAddress(String endAddress) {
        this.endAddress = endAddress;
    }

    public String getPassengername() {
        return passengername;
    }

    public void setPassengername(String passengername) {
        this.passengername = passengername;
    }

    public String getPassengertel() {
        return passengertel;
    }

    public void setPassengertel(String passengertel) {
        this.passengertel = passengertel;
    }

    public Long getDepositBusiness() {
        return depositBusiness;
    }

    public void setDepositBusiness(Long depositBusiness) {
        this.depositBusiness = depositBusiness;
    }

    public Long getPoints() {
        return points;
    }

    public void setPoints(Long points) {
        this.points = points;
    }

    public CouponDto getCoupon() {
        return coupon;
    }

    public void setCoupon(CouponDto coupon) {
        this.coupon = coupon;
    }

    public String getInvoice() {
        return invoice;
    }

    public void setInvoice(String invoice) {
        this.invoice = invoice;
    }

    public List<productDTO> getQueryResultList() {
        return queryResultList;
    }
}
